Integrand size = 25, antiderivative size = 87 \[ \int \frac {(d \tan (e+f x))^{3/2}}{a+a \tan (e+f x)} \, dx=\frac {d^{3/2} \arctan \left (\frac {\sqrt {d \tan (e+f x)}}{\sqrt {d}}\right )}{a f}-\frac {d^{3/2} \text {arctanh}\left (\frac {\sqrt {d}+\sqrt {d} \tan (e+f x)}{\sqrt {2} \sqrt {d \tan (e+f x)}}\right )}{\sqrt {2} a f} \]
[Out]
Time = 0.26 (sec) , antiderivative size = 87, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.240, Rules used = {3654, 3613, 214, 3715, 65, 211} \[ \int \frac {(d \tan (e+f x))^{3/2}}{a+a \tan (e+f x)} \, dx=\frac {d^{3/2} \arctan \left (\frac {\sqrt {d \tan (e+f x)}}{\sqrt {d}}\right )}{a f}-\frac {d^{3/2} \text {arctanh}\left (\frac {\sqrt {d} \tan (e+f x)+\sqrt {d}}{\sqrt {2} \sqrt {d \tan (e+f x)}}\right )}{\sqrt {2} a f} \]
[In]
[Out]
Rule 65
Rule 211
Rule 214
Rule 3613
Rule 3654
Rule 3715
Rubi steps \begin{align*} \text {integral}& = \frac {\int \frac {-a d^2+a d^2 \tan (e+f x)}{\sqrt {d \tan (e+f x)}} \, dx}{2 a^2}+\frac {1}{2} d^2 \int \frac {1+\tan ^2(e+f x)}{\sqrt {d \tan (e+f x)} (a+a \tan (e+f x))} \, dx \\ & = \frac {d^2 \text {Subst}\left (\int \frac {1}{\sqrt {d x} (a+a x)} \, dx,x,\tan (e+f x)\right )}{2 f}-\frac {d^4 \text {Subst}\left (\int \frac {1}{-2 a^2 d^4+d x^2} \, dx,x,\frac {-a d^2-a d^2 \tan (e+f x)}{\sqrt {d \tan (e+f x)}}\right )}{f} \\ & = -\frac {d^{3/2} \text {arctanh}\left (\frac {\sqrt {d}+\sqrt {d} \tan (e+f x)}{\sqrt {2} \sqrt {d \tan (e+f x)}}\right )}{\sqrt {2} a f}+\frac {d \text {Subst}\left (\int \frac {1}{a+\frac {a x^2}{d}} \, dx,x,\sqrt {d \tan (e+f x)}\right )}{f} \\ & = \frac {d^{3/2} \arctan \left (\frac {\sqrt {d \tan (e+f x)}}{\sqrt {d}}\right )}{a f}-\frac {d^{3/2} \text {arctanh}\left (\frac {\sqrt {d}+\sqrt {d} \tan (e+f x)}{\sqrt {2} \sqrt {d \tan (e+f x)}}\right )}{\sqrt {2} a f} \\ \end{align*}
Leaf count is larger than twice the leaf count of optimal. \(280\) vs. \(2(87)=174\).
Time = 0.65 (sec) , antiderivative size = 280, normalized size of antiderivative = 3.22 \[ \int \frac {(d \tan (e+f x))^{3/2}}{a+a \tan (e+f x)} \, dx=\frac {8 d^{3/2} \arctan \left (\frac {\sqrt {d \tan (e+f x)}}{\sqrt {d}}\right )-4 \left (-d^2\right )^{3/4} \arctan \left (\frac {\sqrt {d \tan (e+f x)}}{\sqrt [4]{-d^2}}\right )+2 \sqrt {2} d^{3/2} \arctan \left (1-\frac {\sqrt {2} \sqrt {d \tan (e+f x)}}{\sqrt {d}}\right )-2 \sqrt {2} d^{3/2} \arctan \left (1+\frac {\sqrt {2} \sqrt {d \tan (e+f x)}}{\sqrt {d}}\right )+4 \left (-d^2\right )^{3/4} \text {arctanh}\left (\frac {\sqrt {d \tan (e+f x)}}{\sqrt [4]{-d^2}}\right )+\sqrt {2} d^{3/2} \log \left (\sqrt {d}+\sqrt {d} \tan (e+f x)-\sqrt {2} \sqrt {d \tan (e+f x)}\right )-\sqrt {2} d^{3/2} \log \left (\sqrt {d}+\sqrt {d} \tan (e+f x)+\sqrt {2} \sqrt {d \tan (e+f x)}\right )}{8 a f} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(297\) vs. \(2(70)=140\).
Time = 0.68 (sec) , antiderivative size = 298, normalized size of antiderivative = 3.43
method | result | size |
derivativedivides | \(\frac {2 d^{2} \left (-\frac {\left (d^{2}\right )^{\frac {1}{4}} \sqrt {2}\, \left (\ln \left (\frac {d \tan \left (f x +e \right )+\left (d^{2}\right )^{\frac {1}{4}} \sqrt {d \tan \left (f x +e \right )}\, \sqrt {2}+\sqrt {d^{2}}}{d \tan \left (f x +e \right )-\left (d^{2}\right )^{\frac {1}{4}} \sqrt {d \tan \left (f x +e \right )}\, \sqrt {2}+\sqrt {d^{2}}}\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {d \tan \left (f x +e \right )}}{\left (d^{2}\right )^{\frac {1}{4}}}+1\right )-2 \arctan \left (-\frac {\sqrt {2}\, \sqrt {d \tan \left (f x +e \right )}}{\left (d^{2}\right )^{\frac {1}{4}}}+1\right )\right )}{16 d}+\frac {\sqrt {2}\, \left (\ln \left (\frac {d \tan \left (f x +e \right )-\left (d^{2}\right )^{\frac {1}{4}} \sqrt {d \tan \left (f x +e \right )}\, \sqrt {2}+\sqrt {d^{2}}}{d \tan \left (f x +e \right )+\left (d^{2}\right )^{\frac {1}{4}} \sqrt {d \tan \left (f x +e \right )}\, \sqrt {2}+\sqrt {d^{2}}}\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {d \tan \left (f x +e \right )}}{\left (d^{2}\right )^{\frac {1}{4}}}+1\right )-2 \arctan \left (-\frac {\sqrt {2}\, \sqrt {d \tan \left (f x +e \right )}}{\left (d^{2}\right )^{\frac {1}{4}}}+1\right )\right )}{16 \left (d^{2}\right )^{\frac {1}{4}}}+\frac {\arctan \left (\frac {\sqrt {d \tan \left (f x +e \right )}}{\sqrt {d}}\right )}{2 \sqrt {d}}\right )}{f a}\) | \(298\) |
default | \(\frac {2 d^{2} \left (-\frac {\left (d^{2}\right )^{\frac {1}{4}} \sqrt {2}\, \left (\ln \left (\frac {d \tan \left (f x +e \right )+\left (d^{2}\right )^{\frac {1}{4}} \sqrt {d \tan \left (f x +e \right )}\, \sqrt {2}+\sqrt {d^{2}}}{d \tan \left (f x +e \right )-\left (d^{2}\right )^{\frac {1}{4}} \sqrt {d \tan \left (f x +e \right )}\, \sqrt {2}+\sqrt {d^{2}}}\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {d \tan \left (f x +e \right )}}{\left (d^{2}\right )^{\frac {1}{4}}}+1\right )-2 \arctan \left (-\frac {\sqrt {2}\, \sqrt {d \tan \left (f x +e \right )}}{\left (d^{2}\right )^{\frac {1}{4}}}+1\right )\right )}{16 d}+\frac {\sqrt {2}\, \left (\ln \left (\frac {d \tan \left (f x +e \right )-\left (d^{2}\right )^{\frac {1}{4}} \sqrt {d \tan \left (f x +e \right )}\, \sqrt {2}+\sqrt {d^{2}}}{d \tan \left (f x +e \right )+\left (d^{2}\right )^{\frac {1}{4}} \sqrt {d \tan \left (f x +e \right )}\, \sqrt {2}+\sqrt {d^{2}}}\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {d \tan \left (f x +e \right )}}{\left (d^{2}\right )^{\frac {1}{4}}}+1\right )-2 \arctan \left (-\frac {\sqrt {2}\, \sqrt {d \tan \left (f x +e \right )}}{\left (d^{2}\right )^{\frac {1}{4}}}+1\right )\right )}{16 \left (d^{2}\right )^{\frac {1}{4}}}+\frac {\arctan \left (\frac {\sqrt {d \tan \left (f x +e \right )}}{\sqrt {d}}\right )}{2 \sqrt {d}}\right )}{f a}\) | \(298\) |
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 211, normalized size of antiderivative = 2.43 \[ \int \frac {(d \tan (e+f x))^{3/2}}{a+a \tan (e+f x)} \, dx=\left [\frac {\sqrt {2} \sqrt {-d} d \arctan \left (\frac {\sqrt {d \tan \left (f x + e\right )} {\left (\sqrt {2} \tan \left (f x + e\right ) + \sqrt {2}\right )} \sqrt {-d}}{2 \, d \tan \left (f x + e\right )}\right ) + \sqrt {-d} d \log \left (\frac {d \tan \left (f x + e\right ) + 2 \, \sqrt {d \tan \left (f x + e\right )} \sqrt {-d} - d}{\tan \left (f x + e\right ) + 1}\right )}{2 \, a f}, \frac {\sqrt {2} d^{\frac {3}{2}} \log \left (\frac {d \tan \left (f x + e\right )^{2} - 2 \, \sqrt {d \tan \left (f x + e\right )} {\left (\sqrt {2} \tan \left (f x + e\right ) + \sqrt {2}\right )} \sqrt {d} + 4 \, d \tan \left (f x + e\right ) + d}{\tan \left (f x + e\right )^{2} + 1}\right ) + 4 \, d^{\frac {3}{2}} \arctan \left (\frac {\sqrt {d \tan \left (f x + e\right )}}{\sqrt {d}}\right )}{4 \, a f}\right ] \]
[In]
[Out]
\[ \int \frac {(d \tan (e+f x))^{3/2}}{a+a \tan (e+f x)} \, dx=\frac {\int \frac {\left (d \tan {\left (e + f x \right )}\right )^{\frac {3}{2}}}{\tan {\left (e + f x \right )} + 1}\, dx}{a} \]
[In]
[Out]
none
Time = 0.32 (sec) , antiderivative size = 112, normalized size of antiderivative = 1.29 \[ \int \frac {(d \tan (e+f x))^{3/2}}{a+a \tan (e+f x)} \, dx=-\frac {\frac {d^{3} {\left (\frac {\sqrt {2} \log \left (d \tan \left (f x + e\right ) + \sqrt {2} \sqrt {d \tan \left (f x + e\right )} \sqrt {d} + d\right )}{\sqrt {d}} - \frac {\sqrt {2} \log \left (d \tan \left (f x + e\right ) - \sqrt {2} \sqrt {d \tan \left (f x + e\right )} \sqrt {d} + d\right )}{\sqrt {d}}\right )}}{a} - \frac {4 \, d^{\frac {5}{2}} \arctan \left (\frac {\sqrt {d \tan \left (f x + e\right )}}{\sqrt {d}}\right )}{a}}{4 \, d f} \]
[In]
[Out]
Timed out. \[ \int \frac {(d \tan (e+f x))^{3/2}}{a+a \tan (e+f x)} \, dx=\text {Timed out} \]
[In]
[Out]
Time = 3.48 (sec) , antiderivative size = 78, normalized size of antiderivative = 0.90 \[ \int \frac {(d \tan (e+f x))^{3/2}}{a+a \tan (e+f x)} \, dx=\frac {d^{3/2}\,\mathrm {atan}\left (\frac {\sqrt {d\,\mathrm {tan}\left (e+f\,x\right )}}{\sqrt {d}}\right )}{a\,f}-\frac {\sqrt {2}\,d^{3/2}\,\mathrm {atanh}\left (\frac {12\,\sqrt {2}\,d^{25/2}\,\sqrt {d\,\mathrm {tan}\left (e+f\,x\right )}}{12\,d^{13}\,\mathrm {tan}\left (e+f\,x\right )+12\,d^{13}}\right )}{2\,a\,f} \]
[In]
[Out]